package Beavers;


import java.io.IOException;
import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.game.LayerManager;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Ferry
 */
public class Splash {

   // LayerManager lmng;

    public Splash(mainCanvas mc){
        try {
            SampleSprite splash = new SampleSprite(Image.createImage("/res/splash.png"));
            splash.setPosition(0, 0);
            mc.lmng = new LayerManager();
            mc.lmng.append(splash);
        } catch (IOException ex) {
            ex.printStackTrace();
        }
        
       
    }
}
